package com.sneakxy.mybase4j.shiro.service;

import java.util.List;

import com.sneakxy.mybase4j.shiro.bean.ShiroAccount;

/**
 * shiro权限业务接口
 * @author 潜行的青衣
 * @see
 */
public interface IShiroService {

	public ShiroAccount findShiroAccount(Object principal, String host);
	
	public List<String> findRoles(ShiroAccount account);
	
	public List<String> findPermissions(ShiroAccount account, List<String> roles);
	
}
